<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>trackbar</title>
    <link rel="stylesheet" href="../../model/element.css">
    <link rel="stylesheet" href="../../model/view.css">
</head>
<body>
<!--目录-->
<div class="catalog">
    <h2>目录</h2>
    <ul>
        <li>
            <p><a href="#element">< trackbar style2 ></a></p>
        </li>
        <li>
            <p><a href="#attribute">属性</a></p>
            <ul>
                <li><p><a href="#example">实例</a></p></li>
                <li><p><a href="#optional">可选属性</a></p></li>
                <li><p><a href="#note">提示和注释</a></p></li>
                <li><p><a href="#sketch">效果图</a></p></li>
            </ul>
        </li>
    </ul>
</div>
<!--标签-->
<div id="element">
    <h2>trackbar style2</h2>
    <div>简介:</div>
    <p>trackbar 带渐变效果</p>
</div>
<!--属性-->
<div id="attribute">
    <h2>属性</h2>
    <div style="margin-left: 25px" id="example">
        <h3>实例:</h3>
        <!--xmp标签可以直接书写xml格式文本-->
        <xmp>
            <trackbar style="2"  value="50" max="100"  round="5"  color="#ff0000" color2="#00ff00" color3="#0000ff" height="40" margin="15,6,15,0" >
            </trackbar>
        </xmp>
    </div>
    <div id="optional">
        <h3>可选属性:</h3>
        <table>
            <tbody>
            <tr>
                <th>属性</th>
                <th>值</th>
                <th>描述</th>
            </tr>
            <tr>
                <td>value</td>
                <td>30</td>
                <td>当前进度位置为30.这个是根据max的比例来的</td>
            </tr>
            <tr>
                <td>max</td>
                <td>100</td>
                <td>进度的最大值</td>
            </tr>
            <tr>
                <td>round</td>
                <td>5</td>
                <td>进度条的圆角为5dp</td>
            </tr>
            <tr>
                <td>color</td>
                <td>颜色</td>
                <td>左侧颜色</td>
            </tr>
            <tr>
                <td>color2</td>
                <td>颜色</td>
                <td>中间颜色</td>
            </tr>
            <tr>
                <td>color3</td>
                <td>颜色</td>
                <td>右侧颜色</td>
            </tr>

            </tbody>
        </table>
    </div>
    <div id="note">
        <h3>提示和注释:</h3>
    </div>
    <div id="sketch">
        <h3>效果图:</h3>
        <img src="img/trackbar2.png" alt="">
    </div>
</div>

</body>
</html>